package com.meet.persist.entity;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 私信实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PrivateMessage {
    /** 消息ID */
    private String messageId;

    /** 发送者ID */
    private String senderId;

    /** 接收者ID */
    private String receiverId;

    /** 消息内容 */
    private String content;

    /** 是否已读 (0-未读, 1-已读) */
    private Integer isRead;

    /** 消息类型 */
    private String messageType;

    /** 创建时间 */
    private Date createdAt;
}
